﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using nERP.Model.Fin;
using nERP.Model;
using nERP.Model.Po;

namespace nERP.ViewModel.Fin.PaymentDetailVMs
{
    public partial class PaymentDetailBatchVM : BaseBatchVM<PaymentDetail, PaymentDetail_BatchEdit>
    {
        public PaymentDetailBatchVM()
        {
            ListVM = new PaymentDetailListVM();
            LinkedVM = new PaymentDetail_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class PaymentDetail_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._PaymentDetail._Seq")]
        public int? Seq { get; set; }
        [Display(Name = "_Model._PaymentDetail._Pay")]
        public string PayId { get; set; }
        [Display(Name = "_Model._PaymentDetail._Buy")]
        public string BuyId { get; set; }
        [Display(Name = "_Model._PaymentDetail._Amount1")]
        public decimal? Amount1 { get; set; }
        [Display(Name = "_Model._PaymentDetail._Amount2")]
        public decimal? Amount2 { get; set; }
        [Display(Name = "_Model._PaymentDetail._Amount3")]
        public decimal? Amount3 { get; set; }
        [Display(Name = "_Model._PaymentDetail._Amount4")]
        public decimal? Amount4 { get; set; }
        [Display(Name = "_Model._PaymentDetail._Remark")]
        public string Remark { get; set; }
        [Display(Name = "_Model._PaymentDetail._Status")]
        public dStatusTypeEnum? Status { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}